package request

import (
	"gitee.com/cjsn/topsdk/ability254/domain"
	"gitee.com/cjsn/topsdk/util"
)

type TmallSscSupplyplatformCapacityEditRequest struct {
	/*
	   容量调整     */
	ParamServiceCapacityAdjustReqDto *domain.TmallSscSupplyplatformCapacityEditServiceCapacityAdjustReqDTO `json:"param_service_capacity_adjust_req_dto" required:"true" `
}

func (s *TmallSscSupplyplatformCapacityEditRequest) SetParamServiceCapacityAdjustReqDto(v domain.TmallSscSupplyplatformCapacityEditServiceCapacityAdjustReqDTO) *TmallSscSupplyplatformCapacityEditRequest {
	s.ParamServiceCapacityAdjustReqDto = &v
	return s
}

func (req *TmallSscSupplyplatformCapacityEditRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.ParamServiceCapacityAdjustReqDto != nil {
		paramMap["param_service_capacity_adjust_req_dto"] = util.ConvertStruct(*req.ParamServiceCapacityAdjustReqDto)
	}
	return paramMap
}

func (req *TmallSscSupplyplatformCapacityEditRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
